#ifndef __PSTR_H
#define __PSTR_H

#include <avr/io.h>
#include <avr/pgmspace.h>

#define printf_p(fmt, ...) printf_P( PSTR( fmt ), ##__VA_ARGS__ )

// Only uncomment if you are getting a long list of compiler warnings
/*
#ifdef PROGMEM
#undef PROGMEM
#define PROGMEM __attribute__((section(".progmem.data")))
#endif
*/

#endif /* __PSTR_H */